package com.example;

import feign.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Bean;

/**
 * Hello world!
 *
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication


public class FeignConsumer
{
    public static void main( String[] args )
    {
        SpringApplication.run(FeignConsumer.class,args);
    }

    @Bean
    Logger.Level frignLoggerLevel(){
        return Logger.Level.FULL;
    }
}
